import Vue from 'vue'
import Vuex from 'vuex'


Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    isShowShadow:false,

    loading: false
  },
  mutations: {
    chanIsShowShadow(state, payload){
      state.isShowShadow = payload
    },
    // ypt全局loding
  showLoading(state) {
    state.loading = true
  },
  hideLoading(state) {
    state.loading = false
  }
  },
  actions: {
  },
  modules: {
    
  }
})
